<?php


namespace App\Http\Controllers;


use GuzzleHttp\Client;

class VdongController extends Controller
{
    public function index()
    {
        $accessToken = 'ss';
        $http = new Client();

        $response = $http->request('GET', route('user'), [
            'headers' => [
                'Accept' => 'application/json',
                'Authorization' => 'Bearer ' . $accessToken,
            ],
        ]);

        return $response;
    }
}
